/*
 * @Date: 2023-08-08 08:51:22
 * @LastEditors: lyx
 * @LastEditTime: 2023-12-04 15:21:24
 * @FilePath: \sup-mini-app\src\app.config.ts
 * @Description:
 */
export default {
  pages: [
    "pages/login/login",
    "pages/index/index",
    "pages/mine/mine",
    "pages/job/job",
    "pages/post/detail/detail",
    "pages/webview/webview",
  ],
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#fff",
    navigationBarTitleText: "Sup 5T 小程序",
    navigationBarTextStyle: "black",
    // enablePullDownRefresh: true, //下拉刷新
  },
  tabBar: {
    color: "#666666",
    selectedColor: "#3556f7", // 主题色
    backgroundColor: "#d9e4ff", // 主题色背景
    borderStyle: "black",
    list: [
      {
        pagePath: "pages/login/login",
        text: "登录",
        iconPath: "./assets/tabs/首页.png",
        selectedIconPath: "./assets/tabs/首页_on.png",
      },
      {
        pagePath: "pages/index/index",
        text: "首页",
        iconPath: "./assets/tabs/首页.png",
        selectedIconPath: "./assets/tabs/首页_on.png",
      },
      {
        pagePath: "pages/job/job",
        text: "任务",
        iconPath: "./assets/tabs/job.png",
        selectedIconPath: "./assets/tabs/job_on.png",
      },
      {
        pagePath: "pages/mine/mine",
        text: "我的",
        iconPath: "./assets/tabs/mine.png",
        selectedIconPath: "./assets/tabs/我的_on.png",
      },
    ],
  },
  usingComponents: {
    wemark: "./wemark/wemark",
  },
  requiredPrivateInfos: ["getLocation", "chooseLocation"],
  // 授权信息描述
  permission: {
    // 定位
    "scope.userLocation": {
      desc: "Sup 5T 小程序想要获取你的地理位置信息",
    },
    // 麦克风
    "scope.record": {
      desc: "Sup 5T 小程序想要获取你的麦克风",
    },
  },
  plugins: {
    WechatSI: {
      version: "0.3.5",
      provider: "wx069ba97219f66d99",
    },
  },
};
